#pragma once
#ifndef POSITIONAL_COMPONENT_H
#define POSITIONAL_COMPONENT_H

#include<AlphaTools.h>
#include "gamecomponent.h"
class PositionalComponent :	public GameComponent
{
private:
	AlphaVector position;
public:
	PositionalComponent(void);
	PositionalComponent(AlphaVector ipos);
	~PositionalComponent(void);

	AlphaVector * getPos(){return (&position);}
	void setPos(AlphaVector ipos){position = ipos;}
	void incPos(AlphaVector ipos){position += ipos;}
	float getx(){return position.getX();}
	float gety(){return position.getY();}
	float getz(){return position.getZ();}
};

#endif